import request from '../utils/request'

export function getInfo(id){
  return request.ajax({
    url: `/fitment/getInfo/${id}`,
    method: 'post',
    loading:true,
  })
}
export function getList(params){
  return request.ajax({
    url: `/fitment/getList/${params.type}/${params.id}`,
    method: 'post',
    loading:true,
  })
}
